package com.clear.honghefinance.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})  // 完全禁用Spring Security的自动配置，从而避免任何安全相关的默认行为。
@ComponentScan(basePackages = {"com.clear.honghefinance"})
@MapperScan("com.clear.**.mapper")
public class HongHeFinanceApplication {
    public static void main(String[] args) {
        SpringApplication.run(HongHeFinanceApplication.class, args);
    }
}
